package com.vkdroid.xmpp;

import com.vkdroid.xmpp.IXmppServiceCallback;

/**
 * Created by IntelliJ IDEA.
 * User: vgrachev
 */

interface IXmppService {

    void connect(String username, String password);

    void disconnect();

    void sendMessage(String recipient, String message);

    void registerCallback(in IXmppServiceCallback cb);

    void unregisterCallback(in IXmppServiceCallback cb);

}
